package com.cqhfan.pojo.im.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Builder;
import lombok.Data;

/**
 * @author 眭传洪
 * @create 2025-08-17 0:37
 */
@Data
@Builder
public class WebSocketMessageDTO {

    private Long senderId;

    private Long receiverId;

    private String senderUserNickName;

    private String senderUserAvatar;

    private String content;

    private Integer messageType;

    private Integer chatType;

    private Boolean ifFriend;

    private Long groupId;

    private String chatTime;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long chatListId;

    private WebSocketSystemMessageDTO systemMessage;

    private TogetherWatchMessageDTO togetherWatchMessage;

}
